Solving A Linkedin Data Science Sql Interview Question